EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title "pbwake"
Date "2020-07-17"
Rev "1.0"
Comp "Michael Buesch <m@bues.ch>"
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Connector:USB_A J1
U 1 1 5EA1B115
P 1650 2000
F 0 "J1" H 1707 2467 50  0000 C CNN
F 1 "USB_A" H 1707 2376 50  0000 C CNN
F 2 "" H 1800 1950 50  0001 C CNN
F 3 " ~" H 1800 1950 50  0001 C CNN
	1    1650 2000
	1    0    0    -1  
$EndComp
$Comp
L Connector:USB_A J2
U 1 1 5EA1B844
P 1650 3450
F 0 "J2" H 1707 3917 50  0000 C CNN
F 1 "USB_A" H 1707 3826 50  0000 C CNN
F 2 "" H 1800 3400 50  0001 C CNN
F 3 " ~" H 1800 3400 50  0001 C CNN
	1    1650 3450
	1    0    0    -1  
$EndComp
Wire Wire Line
	1650 2400 1650 2450
Wire Wire Line
	1650 2450 1550 2450
Wire Wire Line
	1550 2450 1550 2400
Connection ~ 1650 2450
$Comp
L power:GND #PWR02
U 1 1 5EA1ED23
P 2600 5350
F 0 "#PWR02" H 2600 5100 50  0001 C CNN
F 1 "GND" H 2605 5177 50  0000 C CNN
F 2 "" H 2600 5350 50  0001 C CNN
F 3 "" H 2600 5350 50  0001 C CNN
	1    2600 5350
	1    0    0    -1  
$EndComp
Wire Wire Line
	1550 3850 1550 3900
Wire Wire Line
	1550 3900 1650 3900
Connection ~ 1650 3900
Wire Wire Line
	1650 3900 1650 3850
Wire Wire Line
	1950 2100 2150 2100
Wire Wire Line
	2150 2100 2150 3550
Wire Wire Line
	2150 3550 1950 3550
Wire Wire Line
	1950 2000 2250 2000
Wire Wire Line
	2250 2000 2250 3450
Wire Wire Line
	2250 3450 1950 3450
$Comp
L MCU_Microchip_ATtiny:ATtiny13-20PU U1
U 1 1 5EA2225A
P 8600 4950
F 0 "U1" H 8070 4996 50  0000 R CNN
F 1 "Microcontroller" H 8070 4905 50  0000 R CNN
F 2 "Package_DIP:DIP-8_W7.62mm" H 8600 4950 50  0001 C CIN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/doc2535.pdf" H 8600 4950 50  0001 C CNN
	1    8600 4950
	-1   0    0    -1  
$EndComp
$Comp
L power:GND #PWR09
U 1 1 5EA23614
P 8600 5650
F 0 "#PWR09" H 8600 5400 50  0001 C CNN
F 1 "GND" H 8605 5477 50  0000 C CNN
F 2 "" H 8600 5650 50  0001 C CNN
F 3 "" H 8600 5650 50  0001 C CNN
	1    8600 5650
	1    0    0    -1  
$EndComp
$Comp
L Device:R R3
U 1 1 5EA249E9
P 7900 5400
F 0 "R3" V 7693 5400 50  0000 C CNN
F 1 "10k" V 7784 5400 50  0000 C CNN
F 2 "" V 7830 5400 50  0001 C CNN
F 3 "~" H 7900 5400 50  0001 C CNN
	1    7900 5400
	1    0    0    -1  
$EndComp
$Comp
L Connector:AVR-ISP-6 J4
U 1 1 5EA26401
P 8500 2000
F 0 "J4" H 8170 2096 50  0000 R CNN
F 1 "AVR-ISP-6" H 8170 2005 50  0000 R CNN
F 2 "" V 8250 2050 50  0001 C CNN
F 3 " ~" H 7225 1450 50  0001 C CNN
	1    8500 2000
	-1   0    0    -1  
$EndComp
$Comp
L Transistor_FET:IRF540N Q1
U 1 1 5EA28541
P 4500 4750
F 0 "Q1" H 4705 4796 50  0000 L CNN
F 1 "IRF530" H 4705 4705 50  0000 L CNN
F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 4750 4675 50  0001 L CIN
F 3 "" H 4500 4750 50  0001 L CNN
	1    4500 4750
	-1   0    0    -1  
$EndComp
$Comp
L Device:R R2
U 1 1 5EA3A8BF
P 4800 5000
F 0 "R2" H 4870 5046 50  0000 L CNN
F 1 "10k" H 4870 4955 50  0000 L CNN
F 2 "" V 4730 5000 50  0001 C CNN
F 3 "~" H 4800 5000 50  0001 C CNN
	1    4800 5000
	1    0    0    -1  
$EndComp
$Comp
L power:GND #PWR04
U 1 1 5EA3B0AF
P 4400 5350
F 0 "#PWR04" H 4400 5100 50  0001 C CNN
F 1 "GND" H 4405 5177 50  0000 C CNN
F 2 "" H 4400 5350 50  0001 C CNN
F 3 "" H 4400 5350 50  0001 C CNN
	1    4400 5350
	1    0    0    -1  
$EndComp
Wire Wire Line
	4400 4950 4400 5200
Wire Wire Line
	4800 5150 4800 5200
Wire Wire Line
	4800 5200 4400 5200
Connection ~ 4400 5200
Wire Wire Line
	4400 5200 4400 5350
Wire Wire Line
	4800 4750 4700 4750
Wire Wire Line
	4800 4750 4800 4850
Wire Wire Line
	1950 1800 2600 1800
Wire Wire Line
	2600 3250 1950 3250
Wire Wire Line
	8600 5550 8600 5650
Wire Wire Line
	8100 2100 7050 2100
Wire Wire Line
	7050 5150 7900 5150
Connection ~ 7900 5150
Wire Wire Line
	7900 5150 8000 5150
Wire Wire Line
	8000 4850 6950 4850
Wire Wire Line
	6950 2000 8100 2000
Wire Wire Line
	6850 1900 8100 1900
Wire Wire Line
	6850 4650 8000 4650
Wire Wire Line
	8100 1800 6750 1800
Wire Wire Line
	6750 4750 8000 4750
$Comp
L power:GND #PWR07
U 1 1 5EA53BA7
P 8600 2500
F 0 "#PWR07" H 8600 2250 50  0001 C CNN
F 1 "GND" H 8605 2327 50  0000 C CNN
F 2 "" H 8600 2500 50  0001 C CNN
F 3 "" H 8600 2500 50  0001 C CNN
	1    8600 2500
	1    0    0    -1  
$EndComp
Wire Wire Line
	8600 2400 8600 2500
$Comp
L power:+5V #PWR01
U 1 1 5EA54D43
P 2600 1700
F 0 "#PWR01" H 2600 1550 50  0001 C CNN
F 1 "+5V" H 2615 1873 50  0000 C CNN
F 2 "" H 2600 1700 50  0001 C CNN
F 3 "" H 2600 1700 50  0001 C CNN
	1    2600 1700
	1    0    0    -1  
$EndComp
Wire Wire Line
	2600 1700 2600 1800
Wire Wire Line
	1650 2450 2050 2450
Wire Wire Line
	2050 2450 2050 3900
Wire Wire Line
	2050 3900 1650 3900
Wire Wire Line
	2050 3900 2600 3900
Wire Wire Line
	2600 3900 2600 5350
Connection ~ 2050 3900
$Comp
L power:+5V #PWR03
U 1 1 5EA6AF8D
P 4400 1700
F 0 "#PWR03" H 4400 1550 50  0001 C CNN
F 1 "+5V" H 4415 1873 50  0000 C CNN
F 2 "" H 4400 1700 50  0001 C CNN
F 3 "" H 4400 1700 50  0001 C CNN
	1    4400 1700
	1    0    0    -1  
$EndComp
$Comp
L power:+5V #PWR05
U 1 1 5EA6F505
P 7900 5600
F 0 "#PWR05" H 7900 5450 50  0001 C CNN
F 1 "+5V" V 7915 5728 50  0000 L CNN
F 2 "" H 7900 5600 50  0001 C CNN
F 3 "" H 7900 5600 50  0001 C CNN
	1    7900 5600
	-1   0    0    1   
$EndComp
$Comp
L power:+5V #PWR08
U 1 1 5EA7094E
P 8600 3500
F 0 "#PWR08" H 8600 3350 50  0001 C CNN
F 1 "+5V" H 8615 3673 50  0000 C CNN
F 2 "" H 8600 3500 50  0001 C CNN
F 3 "" H 8600 3500 50  0001 C CNN
	1    8600 3500
	1    0    0    -1  
$EndComp
$Comp
L power:+5V #PWR06
U 1 1 5EA70FC1
P 8600 1400
F 0 "#PWR06" H 8600 1250 50  0001 C CNN
F 1 "+5V" H 8615 1573 50  0000 C CNN
F 2 "" H 8600 1400 50  0001 C CNN
F 3 "" H 8600 1400 50  0001 C CNN
	1    8600 1400
	1    0    0    -1  
$EndComp
Wire Wire Line
	7900 5600 7900 5550
Wire Wire Line
	8600 1400 8600 1500
Wire Wire Line
	2600 1800 2600 3250
Connection ~ 2600 1800
NoConn ~ 8000 5050
$Comp
L Device:C C2
U 1 1 5EB83778
P 8900 4200
F 0 "C2" V 8648 4200 50  0000 C CNN
F 1 "100n" V 8739 4200 50  0000 C CNN
F 2 "" H 8938 4050 50  0001 C CNN
F 3 "~" H 8900 4200 50  0001 C CNN
	1    8900 4200
	0    1    1    0   
$EndComp
$Comp
L Device:CP C1
U 1 1 5EB83B74
P 8900 3750
F 0 "C1" H 9018 3796 50  0000 L CNN
F 1 "10µ 16V" H 9018 3705 50  0000 L CNN
F 2 "" H 8938 3600 50  0001 C CNN
F 3 "~" H 8900 3750 50  0001 C CNN
	1    8900 3750
	0    -1   -1   0   
$EndComp
Wire Wire Line
	7050 2100 7050 5150
Wire Wire Line
	6950 2000 6950 4850
Wire Wire Line
	6850 1900 6850 4650
Wire Wire Line
	6750 1800 6750 4750
Wire Wire Line
	8750 4200 8600 4200
Connection ~ 8600 4200
Wire Wire Line
	8600 4200 8600 4350
$Comp
L power:GND #PWR010
U 1 1 5EB9EBF0
P 9200 3750
F 0 "#PWR010" H 9200 3500 50  0001 C CNN
F 1 "GND" H 9205 3577 50  0000 C CNN
F 2 "" H 9200 3750 50  0001 C CNN
F 3 "" H 9200 3750 50  0001 C CNN
	1    9200 3750
	0    -1   -1   0   
$EndComp
$Comp
L power:GND #PWR011
U 1 1 5EB9EF3F
P 9200 4200
F 0 "#PWR011" H 9200 3950 50  0001 C CNN
F 1 "GND" V 9205 4072 50  0000 R CNN
F 2 "" H 9200 4200 50  0001 C CNN
F 3 "" H 9200 4200 50  0001 C CNN
	1    9200 4200
	0    -1   -1   0   
$EndComp
Wire Wire Line
	9050 4200 9200 4200
Wire Wire Line
	7900 5250 7900 5150
$Comp
L Connector:Conn_01x01_Female J3
U 1 1 5EBD34A1
P 6650 5850
F 0 "J3" V 6496 5898 50  0000 L CNN
F 1 "DEBUG" V 6587 5898 50  0000 L CNN
F 2 "" H 6650 5850 50  0001 C CNN
F 3 "~" H 6650 5850 50  0001 C CNN
	1    6650 5850
	0    1    1    0   
$EndComp
Wire Wire Line
	8600 3500 8600 3750
Wire Wire Line
	8600 3750 8750 3750
Wire Wire Line
	9050 3750 9200 3750
Connection ~ 8600 3750
Wire Wire Line
	8600 3750 8600 4200
Connection ~ 4800 4750
Connection ~ 6750 4750
Wire Wire Line
	4800 4750 6750 4750
$Comp
L Device:R R1
U 1 1 5F036334
P 4400 3950
F 0 "R1" H 4470 3996 50  0000 L CNN
F 1 "R100 / 3W" H 4470 3905 50  0000 L CNN
F 2 "" V 4330 3950 50  0001 C CNN
F 3 "~" H 4400 3950 50  0001 C CNN
	1    4400 3950
	1    0    0    -1  
$EndComp
Wire Wire Line
	4400 4100 4400 4550
Wire Wire Line
	4400 3800 4400 1700
Wire Wire Line
	6650 4650 6850 4650
Wire Wire Line
	6650 4650 6650 5650
Connection ~ 6850 4650
NoConn ~ 8000 4950
Text Notes 9150 5450 0    50   ~ 0
ATTiny-13\nATTiny-25\nATTiny-45\nATTiny-85\n(ATMega-328P different pinout)
$EndSCHEMATC
